//
//  BowenPreviewCell.m
//  YiqiMobile
//
//  Created by henry on 13-4-21.
//  Copyright (c) 2013年 henry. All rights reserved.
//

#import "BowenPreviewCell.h"
#import "Config.h"
#import "Utility.h"
@implementation BowenPreviewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        self.selectionStyle=UITableViewCellSelectionStyleNone;
        self.logo=[[EMAsyncImageView alloc] initWithFrame:CGRectMake(16, 22, 40, 40)];
        [self addSubview:self.logo];
        
        self.nickName=[Utility detailTextLabel:CGRectMake(66, 22, 240, 14)andFontSize:8.0f];
        self.nickName.textColor=[UIColor blackColor];
        [self addSubview:self.nickName];
        
        
        self.contentText=[Utility detailTextLabel:CGRectZero andFontSize:12.0f];
        self.contentText.textColor=[UIColor blackColor];
        [self addSubview:self.contentText];
       
        UIButton *customButton = [UIButton buttonWithType:UIButtonTypeCustom];
        customButton.frame=CGRectZero;
        self.voiceButton=customButton;
        [self addSubview:self.voiceButton];
        
        // Initialization code
        self.eMAsyncImageView=[[EMAsyncImageView alloc] initWithFrame:CGRectMake(10,12,100,100)];
        [self  addSubview:self.eMAsyncImageView];
        
    }
    return self;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


@end
